<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Foobar</title>
    </head>
    <body>
        <h2>Welcome to Foobar!</h2>
        <s:form method="POST" action="login">
            <table border="0">
                <tbody>
                    <tr>
                        <td><s:actionerror/></td>
                    </tr>
                    <tr>
                        <td><s:textfield name="customer.username" label="Username" value=""/></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><s:password name="customer.password" label="Password" value=""/></td>
                    </tr>
                </tbody>
            </table>
            <s:submit value="Log In" align="left"/>
        </s:form><br>
        <s:a href="register.jsp">Not a member yet? Sign up here</s:a>
    </body>
</html>
